/*!
\file DNodeData.h
\brief Contains declaration of DNodeData
\ingroup DOT
*/

#ifndef DNODEDATA_H
#define DNODEDATA_H

#include"DCommonData.h"

/*!
\class DNodeData
\brief Inherits DCommonData. This class is used to store information about a Node to be shown in the DOT language.
\ingroup DOT
*/

class DNodeData: public DCommonData{
public:
	DNodeData( QString data );
	//!< Constructor. \param data contains all information required about this Node, it is in the DOT language itself.
	~DNodeData();
	//!< Destructor.
	
	QString toDOT()const;
	//!< Used to output this Node in DOT language.
	int id()const{ return m_id; }
	//!< Returns ID of Node.
private:
	int m_id;
	
	void _setID( QString id );
};

#endif
